package game1.characters;

import java.awt.Point;

/**
 * To be used as the basic class for all player characters and NPC's
 *
 * @author Brien Croft
 * @version 0.1, 12/09/09
 */
public abstract class Character {

    /**
     * The character's location.
     */
    private Point location;

    /**
     * @return The location of the character.
     */
    public Point getLocation() {
        return location;
    }
    /**
     * The name of the character.
     */
    private final String Name;

    /**
     * @return The name of the character.
     */
    public String getName() {
        return Name;
    }

    /**
     * Constructs a Character given its name and its location as a Point
     * @param name The name of the character.
     * @param loc The character's location
     */
    public Character(String name,Point loc) {
        Name = name;
        location = loc;
    }
}
